﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using PPI.Entities.Inspections;

namespace PPIControls.Inspection.Details
{
    public partial class InspectionPoleDetails : UserControl
    {
        public InspectionPoleDetails()
        {
            InitializeComponent();
        }

        public void SetInspection(EInspection inspection)
        {
            lblDataLatitude.Text = inspection.Latitude.ToString();
            lblDataLongitude.Text = inspection.Longitude.ToString();
            lblDataToptype.Text = inspection.TopType.Name;
        }
    }
}
